@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./iconfont/iconfont.css";
@import "./global.scss";

body {
  height: 100%;
  background: #f5f5f5;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  // font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
  //   Microsoft YaHei, Arial, sans-serif;
  font-family: PingFang SC, PingFang SC;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

strong {
  font-weight: normal;
}
button {
  font-family: sans-serif;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
}

body,
img,
a,
div,
ul,
li,
p,
span,
dl,
dt,
dd,
i,
em,
h1,
h2,
h3 {
  margin: 0px;
  padding: 0px;
}

dfn {
  font-style: normal;
}

img {
  border: none;
}

a {
  text-decoration: none;
  color: #585858;
}

a:hover {
  text-decoration: none;
}

ul,
ol,
li,
em {
  list-style-type: none;
  font-style: normal;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

a,
a:visited {
  text-decoration: none;
}

:focus {
  outline: 0;
}

i {
  font-style: normal;
  vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: normal;
}

input {
  &:-webkit-autofill {
    box-shadow: 0 0 0px 1000px $white inset !important;
    -webkit-text-fill-color: $colour_3 !important;
  }
}

//排序
.set_sort {
  width: auto;
  height: 100%;
  display: flex;
}

.set_none_show {
  min-width: auto;
  height: auto;
  padding: 30px 20px;
  padding-right: 0;
  border-right: 1px solid #e6e6e6;
}

.set_header_sort {
  min-width: 179px;
  height: 100%;
  padding: 30px 20px;
}

.set_sort_ab {
  width: 100%;
  height: 283px;
  overflow-y: scroll;
}

.set_sort_ab_border {
  width: auto;
  height: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #606266;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  padding-right: 20px;
  align-items: center;
  cursor: move;
  user-select: none;
}

.chosen {
  color: #03a98e;
}

/* -------------------  滚动条  ------------------- */
::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 8px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 8px;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: rgba(0,0,0,0.15);
}

::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #ededed;
}

/* -------------------  通用样式  ------------------- */
.dialog_padding20_30 {
  padding: 20px 20px 30px 20px;
}

.el-notification__title {
  font-weight: 700;
  font-size: 13px;
  color: #303133;
  margin: 0;
  line-height: 25px;
  font-weight: 400;
}

.el-popover {
  min-width: auto;
}

.el-input__inner {
  padding-left: 10px;
}

.el-input {
  width: auto;
}

.wid60 .el-input__inner {
  width: 60px;
}

.wid70 .el-input__inner {
  width: 70px;
}

.wid80 .el-input__inner {
  width: 80px;
}

.wid110 .el-input__inner {
  width: 110px;
}
.wid100 .el-input__inner {
  width: 100px;
}

.el-date-editor.time120 {
  width: 120px;
}

.wid120 .el-input__inner {
  width: 120px;
}

.wid140 .el-input__inner {
  width: 140px;
}

.wid150 .el-input__inner {
  width: 150px;
}

.wid160 .el-input__inner {
  width: 160px;
}

.wid180 .el-input__inner {
  width: 180px;
}

.wid220 .el-input__inner {
  width: 220px;
}

.wid240 .el-input__inner {
  width: 240px;
}

.wid340 .el-textarea__inner {
  width: 340px;
}

.el-date-editor.time220 {
  width: 220px;
}

.wid240 .el-input__inner {
  width: 240px;
}

.el-date-editor.time240 {
  width: 240px;
}

.wid300 .el-input__inner {
  width: 300px;
}

.wid350 .el-input__inner {
  width: 350px;
}

.wid400 .el-input__inner {
  width: 400px;
}

.wid440 .el-input__inner {
  width: 440px;
}

.wid600 .el-input__inner {
  width: 620px;
}

.el-textarea__inner {
  height: 100px;
}

.app-container {
  padding: 20px;
}

.padding0 {
  padding: 0px !important;
}

.padding5 {
  padding: 5px !important;
}

.padding10 {
  padding: 10px !important;
}

.padding15 {
  padding: 15px !important;
}

.padding20 {
  padding: 20px !important;
}

.paddingRight0 {
  padding-right: 0 !important;
}

.paddingRight5 {
  padding-right: 5px !important;
}

.paddingRight10 {
  padding-right: 10px !important;
}

.paddingRight15 {
  padding-right: 15px !important;
}

.paddingRight20 {
  padding-right: 20px !important;
}

.paddingTop0 {
  padding-top: 0 !important;
}

.paddingTop5 {
  padding-top: 5px !important;
}

.paddingTop10 {
  padding-top: 10px !important;
}

.paddingTop15 {
  padding-top: 15px !important;
}

.paddingTop20 {
  padding-top: 20px !important;
}

.paddingLeft0 {
  padding-left: 0px !important;
}

.paddingLeft5 {
  padding-left: 5px !important;
}

.paddingLeft10 {
  padding-left: 10px !important;
}

.paddingLeft15 {
  padding-left: 15px !important;
}

.paddingLeft20 {
  padding-left: 20px !important;
}

.paddingBottom0 {
  padding-bottom: 0px !important;
}

.paddingBottom5 {
  padding-bottom: 5px !important;
}

.paddingBottom10 {
  padding-bottom: 10px !important;
}

.paddingBottom15 {
  padding-bottom: 15px !important;
}

.paddingBottom20 {
  padding-bottom: 20px !important;
}

.marginLeft0 {
  margin-left: 0px !important;
}

.marginLeft5 {
  margin-left: 5px !important;
}

.marginLeft10 {
  margin-left: 10px !important;
}

.marginLeft15 {
  margin-left: 15px !important;
}

.marginLeft20 {
  margin-left: 20px !important;
}

.marginLeft25 {
  margin-left: 25px !important;
}

.marginRight0 {
  margin-right: 0px !important;
}

.marginRight5 {
  margin-right: 5px !important;
}

.marginRight10 {
  margin-right: 10px !important;
}

.marginRight15 {
  margin-right: 15px !important;
}

.marginRight20 {
  margin-right: 20px !important;
}

.marginTop0 {
  margin-top: 0px !important;
}

.marginTop1 {
  margin-top: 1px !important;
}

.marginTop5 {
  margin-top: 5px !important;
}

.marginTop10 {
  margin-top: 10px !important;
}

.marginTop15 {
  margin-top: 15px !important;
}

.marginTop20 {
  margin-top: 20px !important;
}

.marginBottom0 {
  margin-bottom: 0px !important;
}

.marginBottom5 {
  margin-bottom: 5px !important;
}

.marginBottom10 {
  margin-bottom: 10px !important;
}

.marginBottom15 {
  margin-bottom: 15px !important;
}

.marginBottom20 {
  margin-bottom: 20px !important;
}

.main_spac {
  padding-left: 15px;
  padding-right: 12px;
}

.main_spac1 {
  padding: 16px;
}

.main_white {
  background: $white;
}

// 清除svg样式
// svg path {  
//   fill: inherit;  
// }

// input、select focus
.el-input.is-active .el-input__inner,
.el-input__inner:focus {
  border-color: $menuActiveText;
}

.el-range-editor.is-active,
.el-range-editor.is-active:hover {
  border-color: $menuActiveText;
}

.el-select .el-input.is-focus .el-input__inner {
  border-color: $menuActiveText;
}

.el-select .el-input__inner:focus {
  border-color: $menuActiveText;
}

.main_limit .el-input__inner {
  padding-right: 45px;
}

// TAB
.main_ti {
  .el-tabs__item {
    &:hover {
      color: $menuActiveText;
    }

    &.is-active {
      color: $menuActiveText;
    }
  }

  .el-tabs__active-bar {
    background-color: $menuActiveText;
  }

  .el-tabs__nav-wrap::after {
    height: 1px;
  }
}

// el-range-editor时间段图标
.el-date-editor {
  .el-range__icon {
    position: absolute;
    right: 5px;
    top: 1px;
  }
}

.el-range-editor {
  .el-range-input {
    position: relative;
    top: -1px;
  }
}

.el-range-editor--small {
  .el-range-separator {
    position: relative;
    top: 1px;
  }
}

.el-date-table td.today span {
  color: $menuActiveText;
}

.el-date-table td.available:hover {
  color: $menuActiveText;
}

.el-date-table td.end-date span,
.el-date-table td.start-date span {
  background: $menuActiveText;
}

.el-picker-panel__shortcut {
  &:hover {
    color: $menuActiveText;
  }
}

.el-picker-panel__icon-btn {
  &:hover {
    color: $menuActiveText;
  }
}

// el-date-picker时间图标
.el-input--prefix {
  .el-input__prefix {
    left: auto;
    right: 5px;
  }

  .el-input__inner {
    padding-left: 10px;
  }
}

.el-date-table td.current:not(.disabled) span {
  background-color: $menuActiveText;
}

.el-date-picker__header-label.active,
.el-date-picker__header-label:hover {
  color: $menuActiveText;
}

.el-year-table td .cell:hover,
.el-year-table td.current:not(.disabled) .cell {
  color: $menuActiveText;
}

.el-year-table td.today .cell {
  color: $menuActiveText;
}

.el-month-table td .cell:hover {
  color: $menuActiveText;
}

.el-month-table td.today .cell {
  color: $menuActiveText;
}

.el-month-table td.current:not(.disabled) .cell {
  color: $menuActiveText;
}

// el-button按钮
.el-button {
  padding: 8px 10px;

  &:hover,
  &:focus {
    background: none;
    color: $menuActiveText;
    border: 1px solid $menuActiveText;
  }
}

.el-button--primary {
  background-color: #fff;
  border-color: $menuActiveText;
  color: $menuActiveText;

  &:hover,
  &:focus {
    background: rgba(3,169,142, .2);
    // color: #fff;
  }
}

.el-button--info {
  border-color: $subActive;
  background: $subActive;
  color: $colour_3;

  &:hover,
  &:focus {
    border-color: $subActive;
    background: $subActive;
    color: $colour_3;
  }
}

.el-button+.el-button {
  margin-left: 5px;
}

.el-button--mini,
.el-button--small {
  font-size: $font_14;
}

// el-message-box弹框按钮
.el-message-box__status {
  font-size: 22px !important;
}

.el-message-box__status+.el-message-box__message {
  padding-left: 30px;
}

.el-message-box__wrapper .el-button:focus,
.el-message-box__wrapper .el-button:hover,
.el-dialog__wrapper .el-button:focus,
.el-dialog__wrapper .el-button:hover {
  background: none;
  border-color: $menuActiveText;
  color: $menuActiveText;
}

.el-message-box__wrapper,
.el-dialog__wrapper {

  .el-message-box__btns .el-button--primary,
  .dialog-footer button.el-button--primary {
    background: $menuActiveText;
    border-color: $menuActiveText;
    color: $white;
  }

  .el-message-box__headerbtn .el-message-box__close:hover,
  .el-dialog__headerbtn .el-dialog__close:hover {
    color: $menuActiveText;
  }
}

// 选中颜色
::selection {
  color: #fff;
  background: $menuActiveText;
}

// el-select下拉
.el-select {
  .el-input {
    .el-select__caret {
      font-size: 16px;
    }
  }
}

.el-cascader .el-input .el-input__inner:focus,
.el-cascader .el-input.is-focus .el-input__inner {
  border-color: $menuActiveText;
}

.el-cascader-node.in-active-path,
.el-cascader-node.is-active,
.el-cascader-node.is-selectable.in-checked-path {
  color: $menuActiveText;
}

.el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
  color: $menuActiveText;
}

// el-dropdown下拉
.el-dropdown-menu__item:focus,
.el-dropdown-menu__item:not(.is-disabled):hover {
  color: $menuActiveText;
}

.dropdownActive {
  color: #03A98E;
  background: rgba($color: #03a98e, $alpha: 0.07) !important;
}

// el-checkbox复选
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: $menuActiveText;
  border-color: $menuActiveText;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner::before {
  top: 6px;
}

.el-checkbox__inner {
  width: 16px;
  height: 16px;

  &:hover {
    border-color: $menuActiveText;
  }

  &::after {
    left: 5px;
    top: 2px;
  }
}

.el-checkbox__input.is-focus .el-checkbox__inner {
  border-color: $menuActiveText;
}

.el-checkbox__input.is-checked+.el-checkbox__label {
  color: $menuActiveText;
}

.el-checkbox__label {
  padding-left: 7px;
}

// el-radio单选
.el-radio__input {
  vertical-align: -3px;
}

.el-radio__input.is-checked .el-radio__inner {
  background: none;
  border-color: $menuActiveText;
}

.el-radio__input.is-checked+.el-radio__label {
  color: $menuActiveText;
}

.el-radio__label {
  padding-left: 7px;
}

.el-radio__inner {
  border: 2px solid $menuText;
  width: 16px;
  height: 16px;
}

.el-radio__inner::after {
  width: 7px;
  height: 7px;
  left: 6px;
  top: 6px;
  background: $menuActiveText;
}

.el-radio__label {
  vertical-align: -1px;
}

// el-cascader选择分类
.el-cascader-node .el-radio__inner {
  border: 1px solid #dcdfe6;
  width: 14px;
  height: 14px;
}

// 页面加载中过度颜色
#nprogress .bar {
  background: $menuActiveText !important;
}

// 订单设置
.main_dialog {
  .el-dialog {
    max-height: 80vh;
    overflow: auto;
  }

  &.dialog1300 .el-dialog {
    width: 1300px;
  }

  &.dialog1000 .el-dialog {
    width: 1000px;
  }

  &.dialog900 .el-dialog {
    width: 900px;
  }

  &.dialog840 .el-dialog {
    width: 840px;
  }

  &.dialog700 .el-dialog {
    width: 700px;
  }

  &.dialog600 .el-dialog {
    width: 600px;
  }

  &.dialog550 .el-dialog {
    width: 550px;
  }

  &.dialog500 .el-dialog {
    width: 500px;
  }

  &.dialog450 .el-dialog {
    width: 450px;
  }

  &.dialog400 .el-dialog {
    width: 400px;
  }

  &.dialog300 .el-dialog {
    width: 300px;
  }

  .el-dialog {
    height: fit-content;
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    margin: auto !important;
  }

  .el-dialog__header {
    border-bottom: 1px solid $colour_e6;
    padding: 10px 20px 10px 20px;
  }

  .el-dialog__title {
    font-size: $font_14;
  }

  .el-dialog__headerbtn {
    top: 13px;

    .el-dialog__close {
      font-size: 20px;
    }
  }

  .el-dialog__body {
    padding-top: 16px;
    min-height: 120px;
  }

  .el-dialog__footer {
    border-top: 1px solid $colour_e6;
    padding: 15px 20px 15px 20px;
  }

  .el-checkbox {
    margin-bottom: 15px;
  }
  .revocation {
    .el-checkbox {
      margin-bottom: 0px;
    }
  }
}

// demo-image无图片
.demo-image__error .el-image {
  width: 100%;
  height: 100%;
}

.demo-image__error .image-slot,
.demo-image__placeholder .image-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: $colour_f7;
}

.el-image-viewer__close {
  color: $white;
}

// el-table表格暂无数据
.el-table__empty-text {
  line-height: 200px;
  background: url("../assets/images/table_available.png") no-repeat;
  background-position: center center;
  background-position-x: calc(50% - 45px);
}

// Loading加载
.el-loading-spinner .el-loading-text {
  color: $menuActiveText;
}

.el-loading-spinner .path {
  stroke: $menuActiveText;
}

// el-link文字链接
.el-link {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.el-link.el-link--default {
  &:hover {
    color: $menuActiveText;
  }
}

.el-link.el-link--success {
  color: $menuActiveText;
}

.el-link.el-link--primary {
  color: #03A98E;

  &:hover {
    color: #3b6b14;
  }
}

.el-link--green {
  color: #3b6b14;

  &:hover {
    color: #64973a;
  }

  &::after {
    border-bottom: 1px solid #64973a !important;
  }
}

.main_link .el-link {
  margin-left: 0;
  margin-right: 0;

  &.el-link.el-link--primary {
    &:hover {
      color: #1bc5f6;
    }
  }

  &.el-link--success {
    &:hover {
      color: $menuActiveText;
    }
  }

  &.el-link--danger {
    &:hover {
      color: #f56c6c;
    }
  }

  &:hover {
    cursor: text;
    text-decoration: none;
  }
}

// textarea
.el-textarea__inner {
  padding: 5px 10px;

  &:focus {
    border-color: $menuActiveText;
  }
}

// el-upload上传图片
.el-upload-list--picture-card .el-upload-list__item {
  margin-right: 15px;

  &>div {
    height: 100%;
  }
}

.el-upload-list__item .el-icon-close-tip {
  display: none !important;
}

.el-upload--picture-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 120px;
  line-height: 125px;

  svg {
    position: relative;
    top: 4px;
  }

  use {
    fill: $menuText;
  }
}

.el-upload--picture-card:hover,
.el-upload:focus {
  border-color: $menuActiveText;
}

.main_upImg {
  position: relative;
  min-height: 132px;

  .main_avatar {
    margin-left: 140px;
    width: 120px;
    height: 120px;
  }
}

.main_upImg .el-dialog {
  height: 70%;
  overflow: hidden;
}

.main_upImg .el-dialog .el-dialog__body {
  text-align: center;

  img {
    max-width: 100%;
    max-height: 100%;
  }

  .el-dialog__wrapper {
    &>div {
      position: relative;
    }
  }
}

.el-upload-list--picture-card .el-upload-list__item {
  width: 120px;
  height: 120px;

  &:first-child {
    margin-left: 137px;
  }
}

// el-upload上传图片自定义布局
.main_uqr {
  min-height: 132px;
  margin-top: 5px;

  .main_upImg {
    position: absolute;
  }

  .main_uqr_u {
    ul {
      li {
        width: 120px;
        position: relative;
        overflow: hidden;
        margin-right: 15px;
        margin-bottom: 2px;

        .el-upload-list__item-status-label {
          position: absolute;
          right: -15px;
          top: -6px;
          z-index: 91;
          width: 40px;
          height: 24px;
          background: #13ce66;
          text-align: center;
          -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
          -webkit-box-shadow: 0 0 1pc 1px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 1pc 1px rgba(0, 0, 0, 0.2);
          display: block;

          i {
            font-size: $font_12;
            margin-top: 11px;
            color: $white;
            -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
          }
        }

        &:first-child {
          margin-left: 135px;
        }

        .el-image .el-image__inner {
          width: 120px;
          height: 120px;
        }

        .el-image .image-slot img {
          width: 120px;
          height: 120px;
        }
      }
    }
  }
}

// 表单验证
.el-form-item--small .el-form-item__error {
  padding-top: 5px;
}

// el-tooltip注释
.el-tooltip__popper.is-dark {
  line-height: 20px;
  max-width: 600px;
}

// 监听滚动
.newConBox {
  &.on {
    position: fixed;
    bottom: 0;
    width: calc(100% - 200px);
    background: $white;
    z-index: 9;
    margin-left: -20px;
    padding-left: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid $subMenuActiveText;
  }
}

.newConBox_p200 {
  padding-top: 200px;
}

.newConBox_p100 {
  padding-top: 100px;
}

.newConBox_h32 {
  height: 32px;
}

// switch 开关
.mainor_switch {
  .el-form-item__content {
    margin: 0 !important;
    display: flex;
    align-items: center;
  }

  .el-switch__label {
    display: none;

    span {
      font-size: $font_12;
      vertical-align: 1px;
    }
  }

  .el-switch__label.is-active {
    display: block;
    position: absolute;
    z-index: 1;
    color: $white;
  }

  .el-switch__label--left {
    margin: 0 0 0 20px;

    span {
      color: #b1afaf;
      margin-left: 2px;
    }
  }

  .el-switch__label--right {
    margin-left: 6px;
  }
}

// svg？图标
.mainor_tei {
  &.svg-icon {
    width: 1em !important;
    height: 1em !important;
    vertical-align: -0.2em !important;

  }

  &.el-icon-question {
    font-size: $font_16;
    color: $colour_9;
    vertical-align: -1px;
  }
}

/* -------------------  内容过多省略  ------------------- */
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  white-space: nowrap !important;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.ellipsise {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  white-space: normal !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ellipsiss {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  white-space: normal !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* -------------------  清除浮动  ------------------- */
.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

/* -------------------  盒子  ------------------- */
.box {
  display: flex;
}

/* 盒子两端对齐 */
.boxdq {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* 盒子垂直居中对齐 */
.boxcenter {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/* 盒子换行 */
.boxha {
  display: flex;
  flex-wrap: wrap;
}

/* 盒子垂直居中 */
.boxjz {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 盒子居中对齐 */
.boxjq {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-around;
}

/* 盒子内容对齐 */
.boxnr {
  display: flex;
  align-items: center;
  text-align: center;
}

/* -------------------  订单通用数量统计  ------------------- */
.main_num {
  .main_num_l {
    font-size: $font_14;
    color: $new_text_color_85;
    // color: $colour_18;
    align-items: center;

    p {
      margin-right: 10px;

      em {
        color: $colour_orange;
      }
    }

    .main_num_ls {
      color: $colour_red;
    }
  }

  .main_num_r {
    font-size: $font_14;
    color: $colour_3;

    p {
      margin-left: 15px;
      align-items: center;

      svg {
        position: relative;
        top: 2px;
      }

      use {
        fill: $menuText;
      }

      &:hover {
        use {
          fill: $menuActiveText;
        }

        cursor: pointer;
      }
    }

    &:hover {
      color: $menuActiveText;
    }
  }
}

/* -------------------  订单通用搜索  ------------------- */
.mainor_form {
  position: relative;

  form {
    // width: calc(100% - 420px);

    .el-form-item {
      margin-right: 0;
    }

    &.on {
      width: 100%;
    }

    .reset {
      background: none;
      color: $menuActiveText;

      &:hover,
      &:focus {
        background: none;
        border-color: $menuActiveText;
        color: $menuActiveText;
      }
    }

    .retract {
      margin-left: 5px;
      color: $menuActiveText;

      &:hover {
        cursor: pointer;
      }
    }

    .more {
      color: $colour_18;
      font-size: $font_14;
      margin-top: 8px;
      margin-left: 10px;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      i {
        font-size: 16px;
        font-weight: bold;
        margin-left: 5px;
        vertical-align: -1px;

        &.on {
          transform: rotate(180deg);
        }
      }

      &:hover {
        cursor: pointer;
      }
    }
  }

  .more {
    color: $colour_18;
    font-size: $font_14;
    margin-top: 8px;
    margin-left: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    i {
      font-size: 16px;
      font-weight: bold;
      margin-left: 5px;
      vertical-align: -1px;

      &.on {
        transform: rotate(180deg);
      }
    }

    &:hover {
      cursor: pointer;
    }
  }

  .mainor_te {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    &.on {
      top: auto;
      bottom: 20px;
    }

    .el-button {
      margin-left: 5px;
    }

    
    .mainor_tew {
      line-height: 32px;
      margin-right: 20px;
      color: $colour_red;

      .svg-icon {
        font-size: 20px;
        margin-left: 5px;
        animation: heart 0.8s 0.7s infinite alternate;

        use {
          fill: #585858;
        }
      }
    }
  }
}

.mainsu_te {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;

  .el-checkbox {
    margin-right: 5px;
  }

  .el-checkbox__inner {
    margin-left: 15px;
  }

  .navbar_svg {
    position: relative;
    top: 3px;

    // use {
    //   fill: #c1c1c1;
    // }
  }
}

.el-form-item__label {
  padding: 0 10px 0 0;
}

.main_search {
  .el-button {
    padding: 8px 15px;
  }

  .el-input-group__append,
  .el-input-group__prepend {
    background-color: $menuActiveText;
    border-color: $menuActiveText;

    i {
      font-size: $font_18;
      font-weight: bold;
      color: $white;
      vertical-align: -2px;
    }
  }
}

/* -------------------  订单通用表格列表  ------------------- */
.main_table {
  // margin-top: 10px;

  .mainor_im {
    width: 60px;
    height: 60px;

    .el-image .el-image__inner {
      width: 60px;
      height: 60px;
      border: 1px solid #f8f8f9;
    }

    .el-image .image-slot img {
      width: 50px;
      height: 50px;
      border: 1px solid #f8f8f9;
    }
  }

  .el-table__fixed-right::before,
  .el-table__fixed::before {
    background: none;
  }

  .el-table--border::after,
  .el-table--group::after,
  .el-table::before {
    background: none;
  }

  .el-table::before {
    background: #ebeef5;
  }

  .el-table__expanded-cell .el-table::before {
    background: none;
  }

  .el-table .el-table__header {
    border: 1px solid #ebeef5;
    border-bottom: 0;
  }

  .el-table {
    .el-table__expanded-cell {
      .el-table__header-wrapper {
        .el-table__header {
          border: 0;
        }
      }
    }
  }

  .el-table th .cell {
    align-items: center;

    &>div {
      align-items: center;
      display: flex;
    }

    // 表格标题-图标
    .el-icon-question {
      color: $menuText;
      font-size: 16px;
    }

    .maincl_px {
      i {
        display: block;
        font-weight: bold;
        font-size: 15px;
        position: relative;
      }

      .maincl_pxe {
        display: block;
        height: 18px;

        use {
          fill: $colour_6;
        }
      }

      &:hover {
        cursor: pointer;
      }

      &.on {
        color: $menuActiveText;
      }
    }
  }

  .el-table__body-wrapper {
    border: 1px solid #ebeef5;
    border-top: 0;
    border-bottom: 0;
  }

  .el-table__fixed-body-wrapper {
    border-right: 1px solid #ebeef5;
  }

  .el-table--small th {
    padding: 10px 0;
    border-bottom: 0;
  }

  .el-table--small td {
    padding: 12px 0;
  }

  .el-table .cell,
  .el-table--border td:first-child .cell,
  .el-table--border th:first-child .cell {
    padding-left: 12px;
  }

  .el-table--border td,
  .el-table--border th,
  .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
    border-right: 0;
  }

  .el-table--border,
  .el-table--group {
    border: 0;
  }

  .el-table__fixed-right-patch {
    background: $colour_f7;
  }

  .el-table--small td {
    font-size: $font_14;

    .cell {
      height: 20px;
      line-height: 20px;
      overflow: hidden;
      text-overflow: ellipsis;
      word-wrap: break-word;
      white-space: nowrap !important;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
    }

    &.main_hei {
      .cell {
        height: auto;
        line-height: normal;
        white-space: normal !important;
      }
    }
  }

  .el-table {
    tr {
      // &:hover {
      //   background: rgba($color: #03a98e, $alpha: 0.05) !important;
      // }

      &.hover-row>td {
        background: rgba($color: #03a98e, $alpha: 0.07) !important;
      }
    }

    th {
      background: $colour_f7;

      .cell {
        font-size: 14px;
        color: $colour_18;
      }
    }

    .el-table__body tr:hover>td {
      background: rgba($color: #03a98e, $alpha: 0.07) !important;
    }
    .el-table__body tr:hover .activeColor {
      color: $menuActiveText;
    }

    // .el-table__body tr.current-row>td {
    //   background: rgba($color: #03a98e, $alpha: 0.05) !important;
    // }

    [class*="el-table__row--level"] .el-table__expand-icon {
      margin-right: 0;
    }
  }

  // 列表排序
  .mainus_pe {
    svg {
      vertical-align: -2px;
      margin-left: 10px;

      &:hover {
        cursor: pointer;

        use {
          fill: $menuActiveText;
        }
      }
    }

    use {
      fill: $colour_3;
    }
  }

  // 表格下拉和展开行
  &.row-expand-down .el-table tr .cell .el-table__expand-icon {
    display: none;
  }

  .el-table .row-expand-cover .cell .el-table__expand-icon {
    display: none;
  }

  .el-table .cell .el-table__expand-icon i {
    font-size: 15px;
    font-weight: bold;
    color: $colour_18;
    margin-top: -7px;
    margin-left: -7px;
  }

  .maincg_cover {
    .maincg_xa {
      display: none;
    }
  }

  .el-table tr.expanded+tr:hover {
    background: none !important;
  }

  .el-table tr.expanded+tr:hover>td {
    background: none !important;
  }

  .el-table tr.expanded+tr .el-table tr:hover {
    background: none !important;
  }

  .el-table tr.expanded+tr .el-table tr:hover>td {
    background: none !important;
  }

  .mainex_ta {
    .el-table__body-wrapper {
      border: 0;
    }

    td {
      border-bottom: 0;
    }

    th {
      background: none;

      .el-checkbox {
        display: none;
      }
    }
  }
}

/* -------------------  订单通用分页 ------------------- */
.main_page {
  margin-top: 10px;
  margin-left: 10px;

  // 分页
  .el-pagination.is-background .el-pager li:not(.disabled).active {
    background: none;
    color: $menuActiveText;
  }

  .el-pagination.is-background .btn-next,
  .el-pagination.is-background .btn-prev,
  .el-pagination.is-background .el-pager li {
    background: none;
  }

  .el-pagination.is-background .el-pager li:not(.disabled):hover {
    color: $menuActiveText;
  }

  .el-pagination__sizes .el-input .el-input__inner:hover {
    border-color: $menuActiveText;
  }

  .el-select .el-input.is-focus .el-input__inner {
    border-color: $menuActiveText;
  }

  .el-pagination__jump {
    margin-left: 10px;
  }

  .el-select .el-input .el-select__caret {
    font-weight: bold;
  }

  .el-select .el-input__inner:focus {
    border-color: $menuActiveText;
  }

  .el-pagination__sizes {
    margin: 0;
  }
}

.el-select-dropdown__item.selected {
  color: $menuActiveText;
}

/* -------------------  订单通用面包屑 ------------------- */
.main_crumbs {
  border-bottom: 1px solid $subActive;
  height: 40px;

  .main_crumbs_l {
    line-height: 40px;
    margin-left: -3px;

    a {
      color: $menuActiveText;
      font-size: $font_14;

      i {
        font-size: $font_14;
        transform: rotateZ(90deg);
        font-weight: bold;
      }
    }

    em {
      margin-left: 10px;
      margin-right: 10px;
      color: $subActive;
    }

    span {
      color: $colour_18;
      font-size: $font_14;
    }
  }

  .main_crumbs_r {
    margin-top: -10px;

    .el-button {
      border-color: $menuActiveText;
      color: $menuActiveText;
    }
  }

  .main_crumbs_rt {
    margin-top: -10px;
  }
}

/* -------------------  订单通用标题 ------------------- */
.main_tile {
  height: 40px;
  align-items: center;

  .main_tile_l {
    line-height: 42px;
    color: $colour_18;
    font-size: $font_14;
    font-weight: bold;
    margin-left: 10px;

    em {
      display: inline-block;
      vertical-align: 2px;
      border-radius: 1000px;
      margin-right: 5px;
      width: 6px;
      height: 6px;
      background: $menuActiveText;
    }

    span {
      color: $colour_red;
      font-size: $font_14;
      margin-left: 5px;
    }
  }

  .main_tile_r {
    .el-button {
      border-color: $menuActiveText;
      color: $menuActiveText;
      margin-top: 1px;
    }
  }
}

/* -------------------  订单通用详情 ------------------- */
.main_xq {
  ul {
    margin-left: -10px;

    li {
      width: 25%;
      padding-left: 20px;
      margin-top: 10px;
      margin-bottom: 10px;
      font-size: $font_14;
      color: $menuText;
      line-height: 20px;

      &>span {
        color: $colour_3;
        word-wrap: break-word;
        word-break: break-all;

        &.main_xq_red {
          color: $colour_red;
        }
      }

      &.main_w100 {
        width: 100% !important;
      }

      &.main_w50 {
        width: 50% !important;
      }
    }
  }
}

/* -------------------  订单通用导入 ------------------- */
.importbu {
  .importbu_p {
    h3 {
      font-size: $font_14;
      color: $colour_3;
      margin-bottom: 10px;
    }

    p {
      font-size: $font_14;
      color: $colour_3;
      padding-top: 5px;
      padding-bottom: 5px;
    }
  }

  .importbu_ul {
    ul {
      li {
        margin-top: 20px;

        p {
          font-size: $font_14;
          color: $colour_3;
          margin-bottom: 15px;
        }

        .el-radio {
          align-items: center;
        }

        .el-radio__label {
          vertical-align: 0;
        }
      }
    }
  }

  .importbu_in {
    margin-top: 20px;

    h3 {
      font-size: $font_14;
      color: $colour_3;
      margin-bottom: 10px;
    }

    p {
      align-items: center;
      font-size: $font_14;
      color: $colour_3;
      margin-right: 20px;

      &:last-child {
        margin-right: 0;
      }
    }
  }

  .importbu_an {
    margin-top: 25px;
    align-items: center;

    .el-button--primary {
      margin-right: 10px;
    }

    .el-button--primary:hover,
    .el-button--primary:focus {
      background: $menuActiveText;
      color: $white;
    }

    p {
      color: $menuActiveText;
      margin-left: 20px;
    }
  }

  .importbu_cw {
    margin-top: 20px;
    font-size: $font_14;
    color: $colour_red;
  }
}

/* -------------------  通用多级菜单列表 ------------------- */
.main_tree {
  margin-top: 20px;

  .main_tree_h {
    background: #f7f7f7;
    height: 43px;
    line-height: 43px;
    font-size: $font_14;
    color: $colour_18;
    padding-left: 50px;
    padding-right: 30px;
    font-weight: bold;
  }

  .main_tree_b {
    border: 1px solid #ebeef5;
    border-top: 0;
  }

  .is-focusable {
    &>.el-tree-node__content {
      border-bottom: 1px solid #ebeef5;
    }
  }

  .el-tree-node__expand-icon {
    margin-left: 40px;
    font-size: 15px;
    font-weight: bold;
    color: $colour_18;
  }

  .el-tree-node__expand-icon.is-leaf {
    color: transparent;
  }

  .el-checkbox__inner {
    margin-top: 2px;
    margin-left: 5px;
  }

  .el-tree-node__label {
    margin-left: 2px;
  }

  .el-tree-node__content {
    padding: 10px 0;
    height: auto;

    &:hover {
      background-color: $colour_f2fb;
    }
  }

  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
    background-color: $colour_f2fb;
  }

  .el-tree-node:focus>.el-tree-node__content {
    background-color: $colour_f2fb;
  }

  .custom-tree-node {
    display: inline-flex;
    align-items: center;

    &.on {
      display: block;
      width: 94%;

      &>span {
        &:last-child {
          display: block;
          float: right;
        }
      }
    }

    &>span {
      font-size: 14px;

      em {
        width: 15px;
        height: 20px;
        display: block;
        float: left;
        margin-right: 10px;
        margin-top: -2px;
      }

      &:first-child {
        .svg-icon {
          font-size: 20px;
          margin-right: 5px;
        }
      }

      &:last-child {
        margin-left: 10px;
      }
    }
  }
}

/* -------------------  媒体查询  ------------------- */
@media screen and (max-width: 1420px) {
  .dashboard-container .mainin_ul>ul>li {
    width: 50% !important;
  }
}

@media screen and (max-width: 720px) {
  .el-col-12 {
    width: 100%;
  }

  .el-col-8 {
    width: 100%;
  }

  .el-col-16 {
    width: 100%;
  }

  .mainin_jx {
    margin-top: 20px;

    .el-col-12 {
      &:nth-child(2) {
        .mainin_jxc {
          border-bottom: 0;
          margin-bottom: 0;
          padding-bottom: 0;
        }
      }
    }
  }

  .mainin_jxc {
    border-bottom: 1px solid #ededed;
    margin-bottom: 20px;
    height: auto !important;
    padding-bottom: 20px;
  }

  .sidebar-container {
    top: 0 !important;
  }

  .avatar-container {
    &:nth-child(1) {
      display: none !important;
    }

    &:nth-child(2) {
      display: none !important;
    }

    &:nth-child(3) {
      display: none !important;
    }

    &:nth-child(4) {
      display: none !important;
    }

    &:nth-child(5) {
      display: none !important;
    }
  }

  .menu_mb,
  .mainin_xs {
    display: none;
  }

  .dashboard-container .mainin_ul>ul>li {
    width: 100% !important;
  }
}

/* -------------------  动画  ------------------- */
@keyframes heart {
  0% {
    transform: translateX(0px);
  }

  100% {
    transform: translateX(10px);
  }
}

/* -------------------  table表格的竖线 ------------------- */
.el-table .verticaline {
  &:hover {
    &::before {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 0;
      content: "";
      display: block;
      width: 2px;
      height: 18px;
      background-color: #ccc;
    }
  }
}


/* -------------------  不需要居中的dialog ------------------- */
// 订单设置
.main_dialog_copy {
  &.dialog1300 .el-dialog {
    width: 1300px;
  }

  &.dialog900 .el-dialog {
    width: 900px;
  }

  &.dialog840 .el-dialog {
    width: 840px;
  }

  &.dialog750 .el-dialog {
    width: 750px;
  }

  &.dialog790 .el-dialog {
    width: 790px;
  }

  &.dialog700 .el-dialog {
    width: 700px;
  }

  &.dialog600 .el-dialog {
    width: 600px;
  }

  &.dialog550 .el-dialog {
    width: 550px;
  }

  &.dialog500 .el-dialog {
    width: 500px;
  }

  &.dialog450 .el-dialog {
    width: 450px;
  }

  &.dialog400 .el-dialog {
    width: 400px;
  }

  &.dialog300 .el-dialog {
    width: 300px;
  }

  .el-dialog__header {
    border-bottom: 1px solid $colour_e6;
    padding: 10px 20px 10px 20px;
  }

  .el-dialog__title {
    font-size: $font_14;
  }

  .el-dialog__headerbtn {
    top: 13px;

    .el-dialog__close {
      font-size: 20px;
    }
  }

  .el-dialog__body {
    padding-top: 20px;
    min-height: 120px;
  }

  .el-dialog__footer {
    border-top: 1px solid $colour_e6;
    padding: 15px 20px 15px 20px;
  }

  .el-checkbox {
    margin-bottom: 15px;
  }
}


/* ----报表侧滑栏展示  开始---- */
.report_drawer {
  &.drawer_min900 .el-drawer {
    min-width: 900px;
  }

  .el-drawer__header {
    font-size: 20px;
  }

  .el-drawer__body {
    overflow: auto;
  }
}

.drawer_container {
  padding: 20px;
  overflow: auto;

  .drawer_container_header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .heder_left {
      font-size: 16px;
      display: flex;
      align-items: center;

      span:last-child {
        margin-left: 25px;
      }
    }
  }

  .drawer_container_main {
    margin-top: 20px;
  }
}

/* ----报表侧滑栏展示    结束---- */

/* ----表头管理操作    开始---- */
.table_header_setting {
  display: flex;
  align-items: center;
  justify-content: space-between;

  span {
    padding: 0 15px;
  }

  .hader_setting_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
}


/* ----表头管理操作    结束---- */

.body_hidden {
  overflow: hidden;
}

// 打印样式
@media print {
  @page {
    size: auto;
    margin: 0mm;
  }

  body {
    height: auto;
    background: #fff;
  }

  #table {
    zoom: 47%;
  }

  .main_table .el-table--small td {
    font-size: 20px;
  }

  .main_table .el-table th .cell {
    font-size: 17px;
  }
}

.introjs-tooltipReferenceLayer {
  width: 100% !important;
  height: 100% !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.introjs-tooltip {
  max-width: 80% !important;
  width: 80%;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
}

.introjs-skipbutton {
  color: #fff !important;
}

.introjs-tooltiptext {
  max-width: 100% !important;
}

.introjs-tooltiptext img {
  max-width: 100% !important;
  height: auto !important;
}

.introjs-button {
  font-size: 22px !important;
}

.tox-silver-sink{
  z-index: 100000 !important;
}